/*
*Copyright 2021-2023 NERCIS
*
*Licensed under the Apache License, Version 2.0 (the "License");
*you may not use this file except in compliance with the License.
*You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*Unless required by applicable law or agreed to in writing, software
*distributed under the License is distributed on an "AS IS" BASIS,
*WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
*See the License for the specific language governing permissions and
*limitations under the License.
*/

package cn.ac.nercis.pes.model.bo.doc.report.table.record;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * 技术类测评结果记录
 * @author zpy
 * @version 1.0.0
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class TEvaluationRecordBO {
    /**
     * 测评指标
     */
    private String target;
    /**
     * 测评对象
     */
    private String asset;
    /**
     * 结果记录
     */
    private List<ResultRecordBO> records;
    /**
     * 密码使用安全D（1：符合，3：不符合，4：不适用）
     */
    private Integer dValue;
    /**
     * 密码算法/技术合规性A（1：符合，3：不符合，4：不适用）
     */
    private Integer aValue;
    /**
     * 密钥管理安全K（1：符合，3：不符合，4：不适用）
     */
    private Integer kValue;
    /**
     * 测评对象评分
     */
    private String assetScore;
    /**
     * 测评对象评分（对象弥补后）
     */
    private String offsetAssetScore;
    /**
     * 测评单元得分
     */
    private String unitScore;
    /**
     * 测评单元得分（对象弥补后）
     */
    private String offsetUnitScore;
    /**
     * 单元指标是否适用
     */
    private Boolean isApply;
    /**
     * 资产对象是否适用
     */
    private Boolean isApplyByAsset;
}
